<template>
	<view>
		<view class="borderbottom">
			<appBar title="银行卡详情"></appBar>
		</view>
		<view class="defultBackground pall20">
			<bankItem :bankCode="item.bankCode" :bankName="item.bankName" :cardCode="item.cardCode" :uuid="item.uuid" />
			<ListTitle class="borderbottom pall20" title="持卡人" rightText="姓名" rightIcon="" />
			<ListTitle class="borderbottom pall20" title="持卡人" rightText="姓名" rightIcon="" />
		</view>
		<uv-gap height="20"></uv-gap>
		<view class="pall20">
			<ThemeButton type="primary" text="设为提现卡"></ThemeButton>
			<ThemeButton type="primary" :plain="true" text="删除" class="mtb20"></ThemeButton>
		</view>
	</view>
</template>

<script>
	import ListTitle from '@/components/ListTitle/ListTitle.vue';
	import themeButton from '@/components/themeButton/themeButton.vue';
	export default {
		components: {
			ListTitle,
			themeButton
		},
		data() {
			return {
				item: {},

			};
		},
		methods: {

		},
		onLoad(option) {
			if (option.bankItem) {
				let item = JSON.parse(option.bankItem)
				this.item = item
			}
		}
	}
</script>

<style lang="scss">

</style>